#pragma once

#include <string>
#include <vector>
#include <iostream>
#include <imglib/bitmap.h>
#include <typelib/affine.h>	   

#include <MyFC/Span.h>
#include "Percent.h"
#include "icache/footage.h"

namespace My {

typedef std::string				String;
typedef std::vector<String>		StringVector;
typedef size_t					Size;

typedef affine Affine;

/*class Extent : public size_extent { 
public:
	Extent() { }
	Extent(const size_extent & e) : size_extent(e) { }
	Extent(Size sx, Size sy) : size_extent(sx, sy) { }
	operator size_extent() const
		{ return * this; }
};*/
typedef size_extent				Extent;

typedef icache::item_id			CacheKey;
typedef icache::item_id_sptr	CacheKeySPtr;
typedef icache::cached_image	CachedImage;
typedef icache::cached_image_sptr CachedImageSPtr;
typedef icache::footage			Footage;
typedef icache::footage_sptr	FootageSPtr;
typedef byte_color				ByteColor;
typedef img::bitmap				BitMask;
typedef img::image<ByteColor>	ByteImage;

} // My